﻿using System.Collections.Generic;

namespace NExt
{
    public class ToolTip : ToolTip<ToolTipEvents>
    {
    }

    public abstract class ToolTip<TEvents>: Tip<TEvents>
        where TEvents : ToolTipEvents, new()
    {
        protected ToolTip()
        {
            mouseOffset = new List<int>();
        }

        public bool? autoHide { get; set; }
        public int? dismissDelay { get; set; }
        public int? hideDelay { get; set; }
        public IList<int> mouseOffset { get; set; }
        public int? showDelay { get; set; }
        public object target { get; set; }
        public bool? trackMouse { get; set; }
    }

    public class ToolTipEvents: TipEvents
    {
    }
}
